/**
 * Reference: jquery.popImage.js and libs/jquery/jquery-1.6.2.min.js
 * 
 *                                           注释                   举例........................
 * ----------------------------------------------------------------------------------------------------
 * @param container:                         DOM元素                div
 * @param bigImage                           大图路径               '.../image.png'
 * @param smallImage                         小图路径               '.../image_thumb.png'
 * @return
 */
function MyPopImage(container, bigImage, smallImage) {
  MyUtils.removeChildElements(container);
  var a, img;
  a = document.createElement('a');
  a.className = 'image_gall';
  a.href = bigImage;
  var img = document.createElement('img');
  img.src = smallImage;
  a.appendChild(img);
  container.appendChild(a);
  $("a.image_gall").popImage({ top: MyUtils.findPos(a)[1] });
};
